From 6fb66e299a82833787a4f06d0ca487dbbcee8d82 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 8 Dec 2020 11:45:52 -0500 Subject: [PATCH] Revert "reftests: Remove window-show-contents-on-map.ui test" This reverts commit 074b933ae4e866d092edd734fd43524e39033b5e. --- testsuite/reftests/meson.build | 2 ++ .../reftests/window-show-contents-on-map.ref.ui | 16 ++++++++++++++++ .../reftests/window-show-contents-on-map.ui | 15 +++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 testsuite/reftests/window-show-contents-on-map.ref.ui create mode 100644 testsuite/reftests/window-show-contents-on-map.ui diff --git a/testsuite/reftests/meson.build b/testsuite/reftests/meson.build index a50b8f84df..8df36fab93 100644 --- a/testsuite/reftests/meson.build +++ b/testsuite/reftests/meson.build @@ -439,6 +439,8 @@ testdata = [ 'window-default-size.ui', 'window-height-for-width.ref.ui', 'window-height-for-width.ui', + 'window-show-contents-on-map.ref.ui', + 'window-show-contents-on-map.ui', ] # These need to be fixed but the issue hasn't been tracked down. diff --git a/testsuite/reftests/window-show-contents-on-map.ref.ui b/testsuite/reftests/window-show-contents-on-map.ref.ui new file mode 100644 index 0000000000..f24540ed6b --- /dev/null +++ b/testsuite/reftests/window-show-contents-on-map.ref.ui @@ -0,0 +1,16 @@ + + + + 200 + 200 + 0 + + + This label is only shown when the window is mapped. So the window does its first size allocation without the label being visible and has to resize. + 1 + 20 + 20 + + + + diff --git a/testsuite/reftests/window-show-contents-on-map.ui b/testsuite/reftests/window-show-contents-on-map.ui new file mode 100644 index 0000000000..88e00d8e51 --- /dev/null +++ b/testsuite/reftests/window-show-contents-on-map.ui @@ -0,0 +1,15 @@ + + + + 0 + + + + 0 + This label is only shown when the window is mapped. So the window does its first size allocation without the label being visible and has to resize. + 20 + 1 + + + + -- 2.30.2